﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HrEFCore.Models
{
    public class ERView2
    {
        [Key]
        [DisplayName("编号")]
        [Required(ErrorMessage = "编号不能为空")]
        public short ResId { get; set; }//主键
        [DisplayName("姓名")]
        [Required(ErrorMessage = "姓名不能为空")]
        public string HumanName { get; set; }//姓名
        [DisplayName("性别")]
        [Required(ErrorMessage = "性别不能为空")]
        public char HumanSex { get; set; }//性别
        [DisplayName("职位分类名称")]
        [Required(ErrorMessage = "职位分类名称不能为空")]
        public string HumanMajorKindName { get; set; }//职位分类名称
        [DisplayName("职位名称")]
        [Required(ErrorMessage = "职位名称不能为空")]
        public string HunmaMajorName { get; set; }//职位名称
        [DisplayName("电话号码")]
        [Required(ErrorMessage = "电话号码不能为空")]
        public string HumanTelephone { get; set; }//电话号码
        [DisplayName("面试状态")]
        [Required(ErrorMessage = "面试状态不能为空")]
        public short InterviewStatus { get; set; }//面试状态
		[DisplayName("综合素质")]
		[Required(ErrorMessage = "综合素质不能为空")]
		public string MultiQualityDegree { get; set; }//综合素质
		[DisplayName("面试时间")]
		[Required(ErrorMessage = "面试时间不能为空")]
		public DateTime RegisteTime { get; set; }//面试时间
		[DisplayName("面试次数")]
		[Required(ErrorMessage = "面试次数不能为空")]
		public short InterviewAmount { get; set; }//面试次数
	}
}
